import '../css/style.css';
import '../css/testscss.scss';

import printMe from './print'
import $ from 'jquery'
import Vue from 'vue'

new Vue({
    el: "#vm",
    created() {
        alert("vue")

        console.log("VUE000")
    }
})


console.log("title", $('#title').text())

if (process.env.NODE_ENV !== 'production') {
    console.log('Looks like we are in development mode!');
}


{
    let jspangString = 'Hello Webpack'
    document.getElementById('title').innerHTML = jspangString;
}



// function component() {
//     let element = document.createElement('div');

//     var btn = document.createElement('button')

//     // Lodash, currently included via a script, is required for this line to work
//     element.classList.add('hello')

//     btn.innerHTML = 'Click me and check the console!';
//     btn.onclick = printMe;

//     element.appendChild(btn);

//     return element;
// }

// document.body.appendChild(component());